package com.dao;

import com.model.DeviceRelationAdvertisement;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeviceRelationAdvertisementMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DeviceRelationAdvertisement record);

    int insertSelective(DeviceRelationAdvertisement record);

    DeviceRelationAdvertisement selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DeviceRelationAdvertisement record);

    int updateByPrimaryKey(DeviceRelationAdvertisement record);


    List<DeviceRelationAdvertisement> selectByCondition(DeviceRelationAdvertisement deviceRelationAdvertisement);
}